package com.pactera.asmp.server.dao;

import com.pactera.asmp.server.entity.TaskColdHotStartupLog;
import com.pactera.asmp.server.entity.TaskColdHotStartupLogExample;
import com.pactera.asmp.server.pojo.ExcelStartupInfo;
import com.pactera.asmp.server.pojo.TaskStartupInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskColdHotStartupLogMapper {
    long countByExample(TaskColdHotStartupLogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TaskColdHotStartupLog record);

    int insertSelective(TaskColdHotStartupLog record);

    List<TaskColdHotStartupLog> selectByExample(TaskColdHotStartupLogExample example);

    TaskColdHotStartupLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TaskColdHotStartupLog record);

    int updateByPrimaryKey(TaskColdHotStartupLog record);

    List<ExcelStartupInfo> selectStatisticForVarianceByTaskId(Integer id);

    List<TaskStartupInfo> selectStatisticByTaskId(Integer id);
}